<?php
	App::import('Controller','Config.BaseConfig');
	class SmfConfigController extends BaseConfigController
	{
		var $name = 'SmfConfig';
			public $abstractView = "config.generic_config";
		function admin_setting($params = null)
		{
			if(!checkSessionKey('smf'))
			{
				$this->warningMsg(__("You haven't entered a license for Simple Machine Forum plugin yet. Please add the license."));
				$this->redirect('/admin/config/generic_config/setting/License');
			}
			$params = "Smf";		
			$this->pageTitle = sprintf(__('%s Settings'),__("Simple Machine forum"));
			$modelName = $params.'Config';
			$this->configModelAlias = $modelName;
			parent::admin_setting($params);
		
		}
	}
?>